package com.lanxiao.cloud.modules.oauth.infrastructure.enums;

import com.lanxiao.cloud.common.core.enums.BaseEnum;

/**
 * @author ：qiaoliang
 * @date ：2021-10-12
 */
public enum ButtonEventEnum implements BaseEnum<ButtonEventEnum, Integer> {
  CREATE(0, "创建"),
  UPDATE(1, "修改"),
  DELETE(2, "删除");

  private final Integer value;

  private final String desc;

  ButtonEventEnum(Integer value, String desc) {
    this.value = value;
    this.desc = desc;
  }

  @Override
  public Integer getValue() {
    return value;
  }

  @Override
  public String getDesc() {
    return desc;
  }
}

